package com.fcat.common.user.vo;

import java.util.Map;

/**
 * token参数
 */
public class TokenQuery {
    /**
     * 域
     */
    private String realm;

    /**
     * 客户端名称
     */
    private String client;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 密钥
     */
    private String clientSecret;

    /**
     * 属性
     */
    private Map<String, String> attributes;

    /**
     * 访问ip
     */
    private String ip;

    private String scheme;

    private String scope;

    public String getRealm() {
        return realm;
    }

    public void setRealm(String realm) {
        this.realm = realm;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public Map<String, String> getAttributes() {
        return attributes;
    }

    public void setAttributes(Map<String, String> attributes) {
        this.attributes = attributes;
    }


    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getScheme() {
        return scheme;
    }

    public void setScheme(String scheme) {
        this.scheme = scheme;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    @Override
    public String toString() {
        return "TokenQuery{" +
            "realm='" + realm + '\'' +
            ", client='" + client + '\'' +
            ", username='" + username + '\'' +
            ", clientSecret='" + clientSecret + '\'' +
            ", ip='" + ip + '\'' +
            ", attributes=" + attributes +
            '}';
    }
}
